package com.ctgu.service;

import com.ctgu.common.ResponseResult;
import com.ctgu.model.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yiMa
 * @since 2023-07-05
 */
public interface IEmployeeService extends IService<Employee> {

    ResponseResult getEmployeeOne(Integer id);

    ResponseResult getList(int page, int pageSize, String name,Integer depId);

    ResponseResult register(Employee employee);

    ResponseResult getDepartList(int page,int pageSize,String name);

    ResponseResult addCompany(Employee employee);

    ResponseResult moveEmployee(int id, int toDepId, int toPositionId);
}
